package com.example.mobile2121606110syc0501homework;

public class Student {
    private String name;
    private int num;
    private String sex;
    private String pos;

    public Student(int num,String name,String sex,String pos){
        this.name = name;
        this.num = num;
        this.sex = sex;
        this.pos = pos;
    }
    public String getName(){
        return name;
    }
    public void setName(String name){
        this.name = name;
    }

    public int getNum(){
        return num;
    }
    public void setNum(int num){this.num = num;}

    public String getSex() {
        return sex;
    }
    public void setSex(String sex){this.sex = sex;}

    public String getPos() {
        return pos;
    }
    public void setPos(String pos){this.pos = pos;}
}
